import { PureComponent } from "react"
import Com1 from "./com/com1"
import Com2 from "./com/com2"
import { CSSWrapper } from "./style"
import UseStoreHOC from "./com"
class Test2 extends PureComponent {
  render() {
    const { age } = this.props
    return (
      <CSSWrapper>
        <header>Test2 header: {age}</header>
        <div className="flex">
          <div className="flex1">
            <Com1></Com1>
          </div>
          <div className="flex1">
            <Com2></Com2>
          </div>
        </div>
      </CSSWrapper>
    )
  }
}

export default UseStoreHOC(Test2)
